<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        const value = sessionStorage.getItem('name');
        console.log(value);
        const name = localStorage.getItem('name1');
        console.log(name);

        // 练习  写一个记住账号密码的功能
    </script>
</body>
</html>